cmake_minimum_required(VERSION 2.6)

add_library(data
            alias_sparse_vec.cc
            alias_vec.cc
            dataset.cc
	    hdf5_dataset.cc
            matrix_dataset.cc
	    sparse_dataset.cc
	    sqlite_dataset.cc
)

add_executable(dataset_parser_test
               dataset_parser_test.cc
)

target_link_libraries(dataset_parser_test
                      data
		      hdf5
		      hdf5_hl
                      ${ADDITIONAL_LIBRARIES}
)

set(CORE_LIBRARIES "${CORE_LIBRARIES};data" PARENT_SCOPE)
